package com.hnichr.ump.common.talent.library.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Index;
import javax.persistence.Table;
import java.util.Date;


@Data
@EqualsAndHashCode(callSuper=false)
@Entity
@Table(name = "t_talent_project_info",indexes = {@Index(columnList = "USER_ID_")})
@Schema(description = "人才库-项目经历")
public class ProjectInfo extends Talent {

    /**
     * 项目名称
     */
    @Column(name = "PROJECT_NAME_")
    @Schema(description = "项目名称")
    private String projectName;

    /**
     * 开始时间
     */
    @Column(name = "START_TIME_")
    @Schema(description = "开始时间")
    private Date startTime;

    /**
     * 结束时间
     */
    @Column(name = "END_TIME_")
    @Schema(description = "结束时间")
    private Date endTime;

    /**
     * 项目描述
     */
    @Column(name = "PROJECT_DESCRIBE_",columnDefinition="text")
    @Schema(description = "项目描述")
    private String projectDescribe;

    /**
     * 简历id
     */
    @Column(name = "RESUME_ID_")
    @Schema(description = "简历id")
    private String resumeId;
}
